<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkTicketEvaluteConfig
 *
 * @ORM\Table(name="tk_ticket_evalute_config")
 * @ORM\Entity
 */
class TkTicketEvaluteConfig
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业id"})
     */
    private $vccId;

    /**
     * @var bool
     *
     * @ORM\Column(name="is_enable", type="boolean", nullable=false, options={"comment"="是否开启满意度"})
     */
    private $isEnable;

    /**
     * @var bool
     *
     * @ORM\Column(name="enable_describe", type="boolean", nullable=false, options={"comment"="是否开启描述"})
     */
    private $enableDescribe;

    /**
     * @var string|null
     *
     * @ORM\Column(name="sms_template", type="string", length=500, nullable=true, options={"comment"="短信模板"})
     */
    private $smsTemplate = '';

    /**
     * @var bool
     *
     * @ORM\Column(name="send_flag", type="boolean", nullable=false, options={"comment"="发送时机 1立即发送，2,24小时以后发送"})
     */
    private $sendFlag;

    /**
     * @var string
     *
     * @ORM\Column(name="level_data", type="text", length=65535, nullable=false, options={"comment"="存放满意度评价配置"})
     */
    private $levelData;

    /**
     * @var string|null
     *
     * @ORM\Column(name="start_time", type="string", length=5, nullable=true, options={"comment"="开始时间"})
     */
    private $startTime = '';

    /**
     * @var string|null
     *
     * @ORM\Column(name="end_time", type="string", length=5, nullable=true, options={"comment"="结束时间"})
     */
    private $endTime = '';

    /**
     * @var int|null
     *
     * @ORM\Column(name="sms_template_id", type="integer", nullable=true, options={"comment"="短信模板id"})
     */
    private $smsTemplateId = '0';

    /**
     * @var string
     *
     * @ORM\Column(name="ticket_type_str", type="string", length=255, nullable=false, options={"comment"="工单类型字符串"})
     */
    private $ticketTypeStr = '';

    /**
     * @var string
     *
     * @ORM\Column(name="system_varible", type="text", length=0, nullable=false, options={"comment"="满意度模板变量"})
     */
    private $systemVarible;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getIsEnable(): ?bool
    {
        return $this->isEnable;
    }

    public function setIsEnable(bool $isEnable): self
    {
        $this->isEnable = $isEnable;

        return $this;
    }

    public function getEnableDescribe(): ?bool
    {
        return $this->enableDescribe;
    }

    public function setEnableDescribe(bool $enableDescribe): self
    {
        $this->enableDescribe = $enableDescribe;

        return $this;
    }

    public function getSmsTemplate(): ?string
    {
        return $this->smsTemplate;
    }

    public function setSmsTemplate(?string $smsTemplate): self
    {
        $this->smsTemplate = $smsTemplate;

        return $this;
    }

    public function getSendFlag(): ?bool
    {
        return $this->sendFlag;
    }

    public function setSendFlag(bool $sendFlag): self
    {
        $this->sendFlag = $sendFlag;

        return $this;
    }

    public function getLevelData(): ?string
    {
        return $this->levelData;
    }

    public function setLevelData(string $levelData): self
    {
        $this->levelData = $levelData;

        return $this;
    }

    public function getStartTime(): ?string
    {
        return $this->startTime;
    }

    public function setStartTime(?string $startTime): self
    {
        $this->startTime = $startTime;

        return $this;
    }

    public function getEndTime(): ?string
    {
        return $this->endTime;
    }

    public function setEndTime(?string $endTime): self
    {
        $this->endTime = $endTime;

        return $this;
    }

    public function getSmsTemplateId(): ?int
    {
        return $this->smsTemplateId;
    }

    public function setSmsTemplateId(?int $smsTemplateId): self
    {
        $this->smsTemplateId = $smsTemplateId;

        return $this;
    }

    public function getTicketTypeStr(): ?string
    {
        return $this->ticketTypeStr;
    }

    public function setTicketTypeStr(string $ticketTypeStr): self
    {
        $this->ticketTypeStr = $ticketTypeStr;

        return $this;
    }

    public function getSystemVarible(): ?string
    {
        return $this->systemVarible;
    }

    public function setSystemVarible(string $systemVarible): self
    {
        $this->systemVarible = $systemVarible;

        return $this;
    }


}
